﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BenefitHelper.Sys
{
    /// <summary>
    /// 用户登录情况
    /// </summary>
    public class LoginInfo
    {
        public int Id { get; set; }

        public DateTime LoginTime { get; set; }

        public int OperatorId { get; set; }

        public virtual Operator Operator { get; set; }

        public int UserId { get; set; }

        public virtual User User { get; set; }


        //public void SomeOperatorLogin(int uid)
        //{
        //    DB.DBManager db = new DB.DBManager();

        //    LoginInfo info = new LoginInfo();
        //    info.LoginTime = DateTime.Now;
        //    info.OperatorId = uid;

        //    db.Dispose();
        //}
    }
}